from django.contrib.auth.models import AbstractUser
# Create your models here.
from django.db import models


# class User(models.Model):
#     user = models.CharField(max_length=20)
#     password = models.CharField(max_length=20)
#     p_number = models.IntegerField()

# class Area(models.Model):
#     name = models.CharField(max_length=10)
#     ppid = models.IntegerField()

class News(models.Model):
    headline = models.CharField(max_length=20)
    content = models.TextField()

class Advertising(models.Model):
    img = models.ImageField()
    url = models.CharField(max_length=100)
    types = models.IntegerField()


